FILE(GLOB_RECURSE cc_sources *.cc)

add_library(buolascene SHARED ${cc_sources})

include(GLSLToHeader)
glsl_to_header_folder(buolascene techniques/shaders "buola::scene::shaders")

target_link_libraries(buolascene buolagui ${BULLET_LIBRARIES})
set_target_properties(buolascene PROPERTIES VERSION ${GENERIC_LIB_VERSION}
                                        SOVERSION ${GENERIC_LIB_SOVERSION})
install(TARGETS buolascene DESTINATION ${LIB_INSTALL_DIR})
